package com.zombie.effect;

import com.badlogic.gdx.Graphics;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
import com.zombie.Constants;

public class RocketTracerEffect extends AbstractEffect{

//	public ExplosiveObject owner;
//	public ConfigurableEmitter emitter;
//	
//	public RocketTracerEffect(){
//		renderGroup = Constants.GROUP_PRE_NORMAL;
//	}
//	

//
//	@Override
//	public void draw(Graphics g) {
//	}
//
//	public ExplosiveObject getOwner() {
//		return owner;
//	}
//
//	public void setOwner(ExplosiveObject owner) {
//		this.owner = owner;
//	}

	@Override
	public void update(int delta) {
//		if (owner.isDead())
//			setLifeTime(-1);
//		double x1 = 8*FastTrig.cos(Math.toRadians(owner.angle));
//		double y1 = 8*FastTrig.sin(Math.toRadians(owner.angle));
//
//		emitter.setPosition(owner.pos.x-(float)x1, owner.pos.y-(float)y1,false);
	}
	
	@Override
	public void remove() {
//		emitter.wrapUp();
	}

	@Override
	public void draw(SpriteBatch batch, ShapeRenderer shapeBatch) {
		// TODO Auto-generated method stub
		
	}

}
